package com.px.task.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.px.common.annotation.Excel;
import com.px.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 任务黑名单,记录循环任务中被删除的单次任务对象 task_calendar_blacklist
 * 
 * @author WRJ
 * @date 2024-08
 */
@Data
public class TaskCalendarBlacklist extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty(value = "ID")
    private Long id;

    /** 任务ID */
    @ApiModelProperty(value = "任务ID")
    @Excel(name = "任务ID")
    private Long taskId;

    /** 循环任务中被删除任务的预定执行时间 */
    @ApiModelProperty(value = "循环任务中被删除任务的预定执行时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "循环任务中被删除任务的预定执行时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date taskExecTime;

}
